﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FAS.Objetos;

namespace FasGUI
{
    public partial class Inicio : Form
    {
        private Form login;
        public Inicio(Form login)
        {
            this.login = login;
            InitializeComponent();
         }

        private void Eleven_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;
            lblSSFecha.Text = String.Format("{0:F}", DateTime.Now);
        }

        private void btnInventario_Click(object sender, EventArgs e)
        {
            new FormMaterias(this);
            this.Hide();
        }


        private void btnOrdenCompra_Click(object sender, EventArgs e)
        {
            new FormObjetivosExamen(this).Show();
            this.Hide();
        }

        private void Inicio_FormClosed(object sender, FormClosedEventArgs e)
        {
            login.Dispose();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            new FormFiltroExamen(this).Show();
            this.Hide();
        }

        private void btnR_Click_1(object sender, EventArgs e)
        {
            Application.Exit();
        }

    }
}
